package com.regretbuying.front.service.member.impl;

import com.regretbuying.front.dao.member.MemberDao;
import com.regretbuying.front.service.member.MemberService;
import com.regretbuying.pojo.Member;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("fmsi")
public class MemberServiceImpl implements MemberService {

    @Autowired
    private MemberDao memberDao;

    @Override
    public Member getMember(String name, String password) {
        return memberDao.getMemberInfoByNameAndPassword(name,password);
    }
}
